import React, { Component } from 'react'
import { HashRouter as Router, Route, Switch, Redirect } from "react-router-dom"
import Login from '../pages/Login'
import Menu from '../pages/Menu'

export default function index() {
    return (
        <Router>
            <Switch>
                <Route path="/" component={Login} exact></Route>
                <Route path="/menu" component={Menu} exact></Route>
            </Switch>
        </Router>
    )
}
